package com.evaluation.kexingcp.psycho.evaluation.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.evaluation.kexingcp.psycho.evaluation.sys.controller.vo.EvaluationReportVo;
import com.evaluation.kexingcp.psycho.evaluation.sys.controller.vo.EvaluationTaskUserVo;
import com.evaluation.kexingcp.psycho.evaluation.sys.controller.vo.UserReportStatusVo;
import com.evaluation.kexingcp.psycho.evaluation.sys.controller.vo.UserReportVo;
import com.evaluation.kexingcp.psycho.evaluation.sys.entity.EvaluationTaskUserRelEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EvaluationTaskUserRelService extends IService<EvaluationTaskUserRelEntity> {
    IPage getMyTask(Page page, EvaluationTaskUserRelEntity entity);

    int getTaskUserCount(Long taskId);

    String getTaskScales(Long taskId);

    int getTaskUserCompletedCount(Long taskId);

    List<UserReportVo> getTaskUsers(Long taskId);

    List<UserReportStatusVo> getUserCompleteStatus(Long taskId);

    List<Map> getTaskCompleteDate(Long taskId);

    List<EvaluationReportVo> getTaskUserList(Long taskId);

    List<EvaluationTaskUserVo> getMyUncompleteTask();
}